package com.zhongwang.mms.module.half.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 *库存调整
 */
@Data
public class HalfInveAdjModel {
    private Integer aadId; //调整表ID

    private String aadBeforeMatCode; //调整前物料编码

    private String aadBeforeMatName; //调整后物料描述

    private String aadBeforeProjectCode; //调整前项目编号

    private String aadBeforeProjectName; //调整前项目名称

    private String aadBeforePart; //调整前部件

    private String aadBeforeDrawingNo; //调整前图号

    private String aadBeforeMakingPiecesStatus; //调整前制作件状态

    private String aadBeforeBrand; //调整前品牌

    private Integer aadBeforeWhiId; //调整前仓库ID

    private String aadBeforeSapMatCode; //调整前SAP物料编码

    private Double aadBeforeNum; //调整前在库数量

    private Double aadBeforeWeight;

    private Double aadAfterWeight;

    private String aadAfterTexture;

    private Double ajaDeOvWeight;//损益重量

    private String aadBeforeTrackCode; //调整前跟踪号

    private String aadBeforeUnit; //调整前单位

    private Double aadBeforePrice; //调整前单价

    private Double aadBeforeAmount; //调整前总金额

    private String aadBeforePosition; //调整前区位

    private Integer aadBeforeIfFinishedProduct; //调整前成品状态

    private String aadBeforeRemark; //调整前备注

    private Integer aadBeforeMatType; //调整前物料分类

    private String aadBeforeCaseNo; //调整前箱号

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date aadBeforeBoxingDate; //调整前装箱日期

    private Integer aadBeforeStockType; //调整前在库类型

    private String aadAfterMatCode; //调整后物料编码

    private String aadAfterMatName; //调整后物料描述

    private String aadAfterProjectCode; //调整后项目编号

    private String aadAfterProjectName; //调整后项目名称

    private String aadAfterPart; //调整后部件

    private String aadAfterDrawingNo; //调整后图号

    private String aadAfterMakingPiecesStatus; //调整后制作件状态

    private String aadAfterBrand; //调整后品牌

    private String aadAfterSapMatCode; //调整后SAP物料编码

    private Double aadAfterNum; //调整后在库数量

    private String aadAfterTrackCode; //调整后跟踪号

    private String aadAfterUnit; //调整后单位

    private Double aadAfterPrice; //调整后单价

    private Double aadAfterAmount; //调整后总金额

    private String aadAfterPosition; //调整后区位

    private Integer aadAfterWhiId; //调整后仓库ID

    private Integer aadAfterIfFinishedProduct; //调整后成品状态

    private String aadAfterRemark; //调整后备注

    private Integer aadAfterMatType; //调整后物料分类

    private String aadAfterCaseNo; //调整后箱号

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date aadAfterBoxingDate; //调整后装箱日期

    private Integer aadAfterStockType; //调整后在库类型

    private String aadAfterSpecialInstructions; //调整原因

    private String aadApplicant; //调整申请人

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date aadApplDate; //调整后调整申请日期

    private String aadReviewer; //审核人

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date aadReviewDate; //审核日期

    private String aadApprovalComments; //审核意见

    private Integer aadStatus;//状态   0：删除  1：未审批 2：审批通过 3：审批不通过

    private Integer adjStatus; //库存调整标识1：库存调整 2：库存盘点

    private Integer aadItyId; //库存表外键

    private Float ityNum;//库存数量

    private Float ajaDeOvNum;//盘点损益差

    private Float aadDiffAmount;//损溢金额

    private Date startDate;//调整申请起始日期

    private Date endDate;//调整申请结束日期

    private String aadAdjOrderCode;//调整单号

    private int aadBeAfFlag;//调整前后标识 0新增调整/修改数量；1调整前1；2调整后；

    private String aadAfterWhiName; //调整后仓库名

    private String aadBeforeWhiName; //调整前仓库名

    private Integer tempItyNum;

    private Integer ityAvaNum;

    private Integer sameOrderNum;
}
